﻿using Basic.FormRemoteModel;
using Basic.FormRemoteModel.PhysicalQuery.Model;

namespace Basic.FormGatewaryModular.Interface
{
    public interface IPhysicalQueryService
    {
        void SetSort ( KeyValuePair<long, int>[] sorts );
        PhysicalQueryData[] Gets ( long formId, LayoutLocation location );
        long Add ( PhysicalQueryAdd data );
        void Delete ( long id );
        PhysicalQueryDto Get ( long id );
        PhysicalQueryBody GetBody ( long formId );
        bool Set ( long id, PhysicalQuerySet set );
    }
}